package com.xzst.jacksonxml.model.result;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:liukexin
 * @DATE:2019-06-24 11:46
 */
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JacksonXmlRootElement(localName = "uqs")
public class Uqs implements Serializable {

    private static final long serialVersionUID = -3590205213130787575L;


    @JacksonXmlProperty(localName = "sp")
    private String sp;

    @JacksonXmlProperty(localName = "requestID")
    private String requestId;

    /**
     * 电信用户登记资料信息查询结果
     */
    @JacksonXmlProperty(localName = "response")
    private Response response;

    @JacksonXmlElementWrapper(localName = "userInfos")
    @JacksonXmlProperty(localName = "userInfo")
    private List<UserInfo> userInfos;

}
